*Analisis for  Di Mauro -Fiket- 2016*

*PAIRED SAMPLE TESTS:PARTICIPANTS NOT PARTICIPANTS AND CONTROL GROUP*

FREQUENCIES
  VARIABLES=TYPE GROUP_T1BIS
  /ORDER=  ANALYSIS .

**INDEPENDENT SAMPLE TESTS:test group partecipants (n=329)vs test group not partecipants (Tab. 1)* 

RECODE
  TYPE
  (2=0)  (1=1)  (5=0)  (3 thru 4=2)  (6 thru 9=0)  INTO  TEST1 .
VARIABLE LABELS TEST1 'TEST1 test group participants Test group not participants'.
EXECUTE .

*gender*

T-TEST
  GROUPS = TEST1(1 2)
  /MISSING = ANALYSIS
  /VARIABLES = sex1
  /CRITERIA = CI(.95) .

*age*

T-TEST
  GROUPS = TEST1(1 2)
  /MISSING = ANALYSIS
  /VARIABLES = age1
  /CRITERIA = CI(.95) .

*education*

T-TEST
  GROUPS = TEST1(1 2)
  /MISSING = ANALYSIS
  /VARIABLES = educ1
  /CRITERIA = CI(.95) .



*Social class*

RECODE
  class1
  (1=1)  (2=2)  (3=3)  (4=4)  ( 5 =999) INTO class14 .
VARIABLE LABELS class14 'class from type 1 to 4'.
EXECUTE .
RECODE
  class14  (999=SYSMIS)  .
EXECUTE .


T-TEST
  GROUPS = TEST1(1 2)
  /MISSING = ANALYSIS
  /VARIABLES = class14
  /CRITERIA = CI(.95) .

*religiosity*

T-TEST
  GROUPS = TEST1(1 2)
  /MISSING = ANALYSIS
  /VARIABLES = religiosity1
  /CRITERIA = CI(.95) .

*Birth*

T-TEST
  GROUPS = TEST1(1 2)
  /MISSING = ANALYSIS
  /VARIABLES = birth1
  /CRITERIA = CI(.95) .

*parents birth*

T-TEST
  GROUPS = TEST1(1 2)
  /MISSING = ANALYSIS
  /VARIABLES = parentsbirth1
  /CRITERIA = CI(.95) .

*leftright*

T-TEST
  GROUPS = TEST1(1 2)
  /MISSING = ANALYSIS
  /VARIABLES = leftright14
  /CRITERIA = CI(.95) .


*identity*

T-TEST
  GROUPS = TEST1(1 2)
  /MISSING = ANALYSIS
  /VARIABLES = V1Q33a
  /CRITERIA = CI(.95) .

*national ID*

T-TEST
  GROUPS = TEST1(1 2)
  /MISSING = ANALYSIS
  /VARIABLES = V1Q33b
  /CRITERIA = CI(.95) .


*knowledge main body*

RECODE
  V1Q43
(4=SYSMIS)  (1=0)  (2=1)  (3=0)   INTO  V1Q43rec .
EXECUTE .


T-TEST
  GROUPS = TEST1(1 2)
  /MISSING = ANALYSIS
  /VARIABLES = V1Q43rec
  /CRITERIA = CI(.95) .

*knowledge Parliament*

RECODE
  V1Q44
  (4=SYSMIS)  (1=1)  (2=0)  (3=0)  INTO  V1Q44rec .
EXECUTE .



T-TEST
  GROUPS = TEST1(1 2)
  /MISSING = ANALYSIS
  /VARIABLES = V1Q44rec
  /CRITERIA = CI(.95) .

*INDEPENDENT SAMPLE TESTS:test group partecipants vs control group WAVE 1 (TAB 1)*

T-TEST
  GROUPS = GROUP_T1BIS(1 3)
  /MISSING = ANALYSIS
  /VARIABLES = sex1
  /CRITERIA = CI(.95) .


T-TEST
  GROUPS = GROUP_T1BIS(1 3)
  /MISSING = ANALYSIS
  /VARIABLES = age1
  /CRITERIA = CI(.95) .

T-TEST
  GROUPS = GROUP_T1BIS(1 3)
  /MISSING = ANALYSIS
  /VARIABLES = educ1
  /CRITERIA = CI(.95) .

T-TEST
  GROUPS = GROUP_T1BIS(1 3)
  /MISSING = ANALYSIS
  /VARIABLES = class14
  /CRITERIA = CI(.95) .

T-TEST
  GROUPS = GROUP_T1BIS(1 3)
  /MISSING = ANALYSIS
  /VARIABLES = religiosity1
  /CRITERIA = CI(.95) .

T-TEST
  GROUPS = GROUP_T1BIS(1 3)
  /MISSING = ANALYSIS
  /VARIABLES = birth1
  /CRITERIA = CI(.95) .

T-TEST
  GROUPS = GROUP_T1BIS(1 3)
  /MISSING = ANALYSIS
  /VARIABLES = parentsbirth1
  /CRITERIA = CI(.95) .


T-TEST
  GROUPS = GROUP_T1BIS(1 3)
  /MISSING = ANALYSIS
  /VARIABLES = leftright14
  /CRITERIA = CI(.95) .

T-TEST
  GROUPS = GROUP_T1BIS(1 3)
  /MISSING = ANALYSIS
  /VARIABLES = V1Q33a
  /CRITERIA = CI(.95) .

T-TEST
  GROUPS = GROUP_T1BIS(1 3)
  /MISSING = ANALYSIS
  /VARIABLES = V1Q33b
  /CRITERIA = CI(.95) .

T-TEST
  GROUPS = GROUP_T1BIS(1 3)
  /MISSING = ANALYSIS
  /VARIABLES = V1Q43rec
  /CRITERIA = CI(.95) .

T-TEST
  GROUPS = GROUP_T1BIS(1 3)
  /MISSING = ANALYSIS
  /VARIABLES = V1Q44rec
  /CRITERIA = CI(.95) .







*descriptives*
*filtering participants=329 in the four waves- FIGURE 1*


RECODE
  TYPE
  (1=1) (2 thru 10=0) INTO  participants .
VARIABLE LABELS participants 'participants all the waves 329'.
EXECUTE .
FREQUENCIES
  VARIABLES=TYPE participants
  /ORDER=  ANALYSIS .


USE ALL.
COMPUTE filter_$=(participants = 1).
VARIABLE LABEL filter_$ 'participants = 1 (FILTER)'.
VALUE LABELS filter_$  0 'Not Selected' 1 'Selected'.
FORMAT filter_$ (f1.0).
FILTER BY filter_$.
EXECUTE .

*descriptives Q34: moreno question (FIGURE 1) *

FREQUENCIES
  VARIABLES=V1Q34 V2Q34 V3Q34 V4Q34
  /ORDER=  ANALYSIS .


*descriptive 0-10 scale FIGURE 2*
*European*


RECODE
  V1Q33a
  (0 thru 3=1)  (4 thru 6=2)  (7 thru 10=3)  INTO  EUid .
VARIABLE LABELS EUid 'EU identity on 0-10 scale'.
EXECUTE .

FREQUENCIES
  VARIABLES=EUid
  /ORDER=  ANALYSIS .




RECODE
  V2Q33a
  (0 thru 3=1)  (4 thru 6=2)  (7 thru 10=3)  INTO  EUid2 .
VARIABLE LABELS EUid 'EU identity on 0-10 scale T2'.
EXECUTE .
FREQUENCIES
  VARIABLES=EUid2
  /ORDER=  ANALYSIS .



RECODE
  V3Q33a
  (0 thru 3=1)  (4 thru 6=2)  (7 thru 10=3)  INTO  EUid3 .
VARIABLE LABELS EUid 'EU identity on 0-10 scale T3'.
EXECUTE .
FREQUENCIES
  VARIABLES=EUid3
  /ORDER=  ANALYSIS .



RECODE
  V4Q33a
  (0 thru 3=1)  (4 thru 6=2)  (7 thru 10=3)  INTO  EUid4 .
VARIABLE LABELS EUid 'EU identity on 0-10 scale T4'.
EXECUTE .
FREQUENCIES
  VARIABLES=EUid4
  /ORDER=  ANALYSIS .













*descriptive 0-10 scale*
*NATIONAL FIGURE 3*





RECODE
  V1Q33b
  (0 thru 3=1)  (4 thru 6=2)  (7 thru 10=3)  INTO  NAT1 .
VARIABLE LABELS NAT1 'NATIONAL ID 0-10 SCALE'.
EXECUTE .

FREQUENCIES
  VARIABLES=NAT1
  /ORDER=  ANALYSIS .



RECODE
  V2Q33b
  (0 thru 3=1)  (4 thru 6=2)  (7 thru 10=3)  INTO  NAT2 .
VARIABLE LABELS NAT2 'NATIONAL ID 0-10 SCALE'.
EXECUTE .

FREQUENCIES
  VARIABLES=NAT2
  /ORDER=  ANALYSIS .


RECODE
  V3Q33b
  (0 thru 3=1)  (4 thru 6=2)  (7 thru 10=3)  INTO  NAT3 .
VARIABLE LABELS NAT3 'NATIONAL ID 3 0-10 SCALE'.
EXECUTE .

FREQUENCIES
  VARIABLES=NAT3
  /ORDER=  ANALYSIS .


RECODE
  V4Q33b
  (0 thru 3=1)  (4 thru 6=2)  (7 thru 10=3)  INTO  NAT4 .
VARIABLE LABELS NAT4 'NATIONAL 4  ID 0-10 SCALE'.
EXECUTE .

FREQUENCIES
  VARIABLES=NAT4
  /ORDER=  ANALYSIS .







*		PAIRED TEST			TABLE 2	*
					


T-TEST
  PAIRS = V1Q34 V1Q34 V1Q34  WITH V2Q34 V3Q34 V4Q34 (PAIRED)
  /CRITERIA = CI(.95)
  /MISSING = ANALYSIS.



T-TEST
  PAIRS = V1Q33a V1Q33a V1Q33a  WITH V2Q33a V3Q33a V4Q33a (PAIRED)
  /CRITERIA = CI(.95)
  /MISSING = ANALYSIS.

T-TEST
  PAIRS = V1Q33b V1Q33b V1Q33b  WITH V2Q33b V3Q33b V4Q33b (PAIRED)
  /CRITERIA = CI(.95)
  /MISSING = ANALYSIS.


*		PAIRED TEST			CONTROL GROUP TABLE 3	*


RECODE
  TYPE
  (3=1) (9=1) (1=0) (2=0) (4 thru 8=0) (10 thru 11=0) INTO  CONTROL .
VARIABLE LABELS CONTROL 'CONTROL T1 T4 995'.
EXECUTE .
FREQUENCIES
  VARIABLES=TYPE CONTROL
  /ORDER=  ANALYSIS .


USE ALL.
COMPUTE filter_$=(CONTROL = 1).
VARIABLE LABEL filter_$ 'CONTROL = 1 (FILTER)'.
VALUE LABELS filter_$  0 'Not Selected' 1 'Selected'.
FORMAT filter_$ (f1.0).
FILTER BY filter_$.
EXECUTE .


T-TEST
  PAIRS = V1Q34  WITH V4Q34 (PAIRED)
  /CRITERIA = CI(.95)
  /MISSING = ANALYSIS.



T-TEST
  PAIRS = V1Q33a  WITH V4Q33a (PAIRED)
  /CRITERIA = CI(.95)
  /MISSING = ANALYSIS.

T-TEST
  PAIRS = V1Q33b  WITH  V4Q33b (PAIRED)
  /CRITERIA = CI(.95)
  /MISSING = ANALYSIS.











*	CHANGE POSITIONS	FREQUENCES TABLE 4	SEE EXCELL FILE FOR percentages	*
FILTER OFF.
USE ALL.
EXECUTE .

RECODE
  TYPE
  (1=1) (2 thru 10=0) INTO  participants .
VARIABLE LABELS participants 'participants all the waves 329'.
EXECUTE .
FREQUENCIES
  VARIABLES=TYPE participants
  /ORDER=  ANALYSIS .


USE ALL.
COMPUTE filter_$=(participants = 1).
VARIABLE LABEL filter_$ 'participants = 1 (FILTER)'.
VALUE LABELS filter_$  0 'Not Selected' 1 'Selected'.
FORMAT filter_$ (f1.0).
FILTER BY filter_$.
EXECUTE .


*Q34*

CROSSTABS
  /TABLES=V1Q34 BY V2Q34
  /FORMAT= AVALUE TABLES
  /CELLS= COUNT
  /COUNT ROUND CELL .

CROSSTABS
  /TABLES=V1Q34 BY V3Q34
  /FORMAT= AVALUE TABLES
  /CELLS= COUNT
  /COUNT ROUND CELL .

CROSSTABS
  /TABLES=V1Q34 BY V4Q34
  /FORMAT= AVALUE TABLES
  /CELLS= COUNT
  /COUNT ROUND CELL .


*Q33a*

CROSSTABS
  /TABLES=V1Q33a BY V2Q33a
  /FORMAT= AVALUE TABLES
  /CELLS= COUNT
  /COUNT ROUND CELL .

CROSSTABS
  /TABLES=V1Q33a BY V3Q33a
  /FORMAT= AVALUE TABLES
  /CELLS= COUNT
  /COUNT ROUND CELL .

CROSSTABS
  /TABLES=V1Q33a BY V4Q33a
  /FORMAT= AVALUE TABLES
  /CELLS= COUNT
  /COUNT ROUND CELL .









*Q33b*

CROSSTABS
  /TABLES=V1Q33b BY V2Q33b
  /FORMAT= AVALUE TABLES
  /CELLS= COUNT
  /COUNT ROUND CELL .

CROSSTABS
  /TABLES=V1Q33b BY V3Q33b
  /FORMAT= AVALUE TABLES
  /CELLS= COUNT
  /COUNT ROUND CELL .

CROSSTABS
  /TABLES=V1Q33b BY V4Q33b
  /FORMAT= AVALUE TABLES
  /CELLS= COUNT
  /COUNT ROUND CELL .
